
$colorL: #ff9926;

.clearfix::after{
  display: block;
  content: '';
  clear: both;
}

.main{
  width: 1200px;
  margin: 0 auto;
  .mian-path {
    p {
      color: #969696;
      height: 66px;
      line-height: 70px;
      font-size: 16px;
      padding-left: 26px;
      background: url("../img/home.png") no-repeat 4px center;
      a {
        color: #969696;
        &:hover {
          color: red;
        }
      }
    }
  }
  .main-l{
    float: left;
    width: 830px;
    border: 1px solid #ccc;
    border-radius: 10px;
    .top-nav{
      height: 54px;
      margin: 0 12px;
      padding-top: 16px;
      border-bottom: 2px solid $colorL;
      p.li{
        float: left;
        position: relative;
        width: 136px;
        height: 42px;
        border-radius: 6px;
        font-size: 18px;
        font-weight: bold;
        line-height: 42px;
        text-align: center;
        span{
          position: absolute;
          left: 50%; bottom: -8px;
          margin-left: -5px;
        }
      }
      p.active{
        background: $colorL;
        color: #fff;
        span{
          border-top: 10px solid $colorL;
          border-left: 5px solid transparent;
          border-right: 5px solid transparent;
        }
      }
      i{
        float: left;
        width: 2px;
        height: 20px;
        margin: 11px 30px;
        background: #999;
      }
    }
    .news{
      .news-ad1{
        height: 100%;
        margin: 15px;
        a{
          display: block;
          img{
            width: 100%;
          }
        }
      }
      ul{
        margin: 0 25px;
        border-top: 1px solid #ddd;
        li{
          padding: 18px 0;
          border-bottom: 1px dashed #ddd;
          .left-img{
            display: inline-block;
            width: 170px;
            height: 100px;
            a{
              display: block;
              height: 100%;
              img{
                width: 100%; height: 100%;
              }
            }
          }
          .right-text{
            display: inline-block;
            width: 590px;
            height: 100px;
            margin-left: 15px;
            vertical-align: top;
            p.title{
              padding-bottom: 16px;
              a{
                font-size: 20px;
                font-weight: bold;
                color: #222;
              }
              a:hover{
                text-decoration: underline;
                color: #dd7c01;
              }
            }
            p.commit{
              height: 40px;
              overflow: hidden;
              line-height: 20px;
              color: #555;
              a{
                color: #1E9FFF;
              }
            }
            p.time{
              height: 24px;
              line-height: 24px;
              color: #999;
            }
          }
        }
        li:last-child{
          border: 0;
        }
      }
    }
  }
  .main-r{
    float: right;
    width: 350px;
    > div{
      border: 1px solid #ddd;
      border-radius: 10px;
      .top{
        height: 50px;
        margin: 0 12px;
        border-bottom: 2px solid $colorL;
        .new-icon{
          float: left;
          font-size: 26px;
          text-indent: 40px;
          line-height: 50px;
        }
        .play{
          float: right;
          font-size: 16px;
          line-height: 50px;
          a{
            color: #555;
          }
        }
      }
    }
    .new-news{
      .top .new-icon{
        background: url("../img/game-news.png") no-repeat 0 8px;
      }
      ul.list{
        margin: 12px;
        li{
          height: 45px;
          line-height: 45px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          a{
            padding-left: 5px;
            background: url("../img/li_ico.png") no-repeat 0 5px;
            color: #555;
          }
          a:hover{
            text-decoration: underline;
            color: #ff5f4a;
          }
        }
      }
    }
    .hot-game{
      margin-top: 15px;
      .top .new-icon{
        background: url("../img/game-hot.png") no-repeat 0 8px;
      }
      ul.list{
        margin: 12px;
        li{
          height: 40px;
          .sd1{
            line-height: 40px;
            a{
              padding-left: 10px;
              background: url("../img/li_ico.png") no-repeat 0 5px;
              color: #555;
            }
            span{
              float: right;
              color: #888;
            }
          }
          .sd2{
            display: none;
          }
        }
        li.active{
          height: 80px;
          padding: 10px 0;
          border-bottom: 1px dashed #ddd;
          .sd1{
            display: none;
          }
          .sd2{
            display: block;
            img{
              float: left;
              width: 80px; height: 80px;
            }
            div{
              float: left;
              margin-left: 14px;
              p a{
                font-size: 18px;
                line-height: 30px;
                color: #222;
              }
              p span{
                line-height: 25px;
                color: #888;
              }
              p em{
                line-height: 25px;
                color: #ff4f59;
              }
            }
          }
        }
      }
    }
    .hot-Strategy{
      margin-top: 15px;
      .top .new-icon{
        background: url("../img/game-gl.png") no-repeat 0 8px;
      }
      ul.list{
        margin: 12px;
        li{
          height: 45px;
          line-height: 45px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          a{
            padding-left: 5px;
            background: url("../img/li_ico.png") no-repeat 0 5px;
            color: #555;
          }
          a:hover{
            text-decoration: underline;
            color: #ff5f4a;
          }
        }
      }
    }
  }
}
